/**
 * Created by bgy on 2016/12/22.
 */
import React from 'react';

class  PPlanHeader extends React.Component{

  handleClick(e){
    e.preventDefault();
    window.history.back();
  }
  render(){
    return(
      <header className='header-title'>
        <a onClick={this.handleClick} className='leftBtn' >&nbsp;</a> {this.props.title}
        <div className="headerMenu" onClick={this.props.showFilter}>
          重新筛选&nbsp;&nbsp;
          <img style={{width:'20px'}} src="../../images/search.png" alt=""/>
        </div>
      </header>
    );
  }
}
PPlanHeader.defaultProps={
  title:''
};
export default PPlanHeader;
